package com.david.mydemo.ctl_webservice.req;

import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

//@XmlRootElement(name = "BODY")
public class UserModifyReqBody implements Serializable {

    private static final long serialVersionUID = 1L;

    private String operatorId; // 管理员从帐号

    private String operatorPwd; // 管理员密码

    private String operatorIp; // 操作员客户端IP

    private String modifyMode; // add、delete、change、chgstatus、resetpwd

    private UserInfo userInfo; // 帐号属性

    public String getOperatorId() {
        return operatorId;
    }

    @XmlElement(name = "OPERATORID")
    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorPwd() {
        return operatorPwd;
    }

    @XmlElement(name = "OPERATORPWD")
    public void setOperatorPwd(String operatorPwd) {
        this.operatorPwd = operatorPwd;
    }

    public String getOperatorIp() {
        return operatorIp;
    }

    @XmlElement(name = "OPERATORIP")
    public void setOperatorIp(String operatorIp) {
        this.operatorIp = operatorIp;
    }

    public String getModifyMode() {
        return modifyMode;
    }

    @XmlElement(name = "MODIFYMODE")
    public void setModifyMode(String modifyMode) {
        this.modifyMode = modifyMode;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    @XmlElement(name = "USERINFO")
    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

}
